firefive.onFirefoxLoad = function(event)
{
	document.getElementById("contentAreaContextMenu")
		.addEventListener("popupshowing", function (e){ firefive.showFirefoxContextMenu(e); }, false);
};

firefive.onLoad: function()
{
	// initialization code
	this.initialized = true;
	this.strings = document.getElementById("firefive-strings");
};
firefive.showFirefoxContextMenu = function(event)
{
	// show or hide the menuitem based on what the context menu is on
	document.getElementById("context-firefive").hidden = gContextMenu.onImage;
};

window.addEventListener("load", firefive.onFirefoxLoad, false);
